//
//  WYWNetworkRequest.h
//  15WClient
//
//  Created by JinYong on 16/4/22.
//  Copyright © 2016年 15w. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WYWSessionService.h"

@interface WYWNetworkRequest : NSObject

/**
 *  服务器地址
 */
@property (nonatomic,copy) NSString *server;
/**
 *  渠道号
 */
@property (nonatomic,copy) NSString *channelID;
/**
 *  API 版本
 */
@property (nonatomic,copy) NSString *version;
/**
 *  设备ID
 */
@property (nonatomic,copy) NSString *deviceID;
/**
 *  AuthCode，暂时没有用到
 */
@property (nonatomic,copy) NSString *authCode;
/**
 *  ClientType客户端类型
 */
@property (nonatomic,copy) NSString *clientType;
/**
 *  手机操作系统版本
 */
@property (nonatomic,copy) NSString *osVersion;
/**
 *  Content-Type
 */
@property (nonatomic,copy) NSString *contentType;
/**
 *  Session
 */
@property (nonatomic,copy) NSString *sessionToken;
/**
 *  check code，防止网络抓取
 */
@property (nonatomic,copy) NSString *checkCode;
/**
 *  IDFA，广告追踪
 */
@property (nonatomic,copy) NSString *guid;
/**
 *  java请求的key
 */
@property (nonatomic,copy) NSString *javaKey;
/**
 *  trace id 追踪用户行为
 */
@property (nonatomic,copy) NSString *userTraceId;
/**
 *  设备类型
 */
@property (nonatomic,copy) NSString *phoneModel;
/**
 *  设备品牌
 */
@property (nonatomic,copy) NSString *phoneBrand;
/**
 *  经度
 */
@property (nonatomic,copy) NSString *longitude;
/**
 *  纬度
 */
@property (nonatomic,copy) NSString *latitude;


+ (instancetype)sharedInstance;

- (NSURLRequest *)javaRequest:(NSString *)target params:(NSDictionary *)params method:(WYWNetworkRequestMethod)method;

@end
